﻿@model FruitCake.ContactPage.ViewModels.ContactRequestsViewModel
@using FruitCake.ContactPage.ViewModels;
@using Orchard.Utility.Extensions;
           
<h1>@Html.TitleForPage(T("Contact Requests"))</h1>

@using(Html.BeginFormAntiForgeryPost(Url.Action("Index", "Admin"))) 
{
    if(Model.Requests.Count() > 0)
    {
        <fieldset class="bulk-actions">
            @Html.Partial("_RequestActions")
        </fieldset>        
    }
    <fieldset class="contentItems bulk-items">
        @Html.Partial("_RequestList", Model.Requests)
    </fieldset>
}
@Display(Model.PagerShape)